package com.jdzy.model.student.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel(description = "论文表")
@TableName("thesis")
public class Thesis extends BaseEntity {

    @ApiModelProperty(value = "学号stuId")
    @TableField(value = "stu_id")
    private String stuId;

    @ApiModelProperty(value = "论文名称")
    @TableField(value = "thesis_name")
    private String thesisName;

    @ApiModelProperty(value = "论文等级")
    @TableField(value = "thesis_level")
    private Byte thesisLevel;

    @ApiModelProperty(value = "论文状态")
    @TableField(value = "thesis_status")
    private Byte thesisStatus;

    @ApiModelProperty(value = "论文开始时间")
    @TableField(value = "thesis_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate thesisStartTime;

    @ApiModelProperty(value = "论文结束时间")
    @TableField(value = "thesis_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate thesisEndTime;



}
